package com.scs.application.modules.adm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.FlowEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityClassAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import com.scs.application.modules.upgrade.db.enums.EntityFieldType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
/**
 * <p>
 * 耗材准入申请单
 * </p>
 */
@Data
@Accessors(chain = true)
@EntityClassAnnotation(remark = "耗材准入申请单")
@TableName("adm_matr_apply")
public class MatrApply extends FlowEntity {


    // id ,在父类中处理

    @EntityFieldAnnotation(
            text = "申请科室ID",
            type = EntityFieldType.LONG,
            length = "",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String deptId;

    @EntityFieldAnnotation(
            text = "申请科室名称",
            length = "50",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String deptName;

    @EntityFieldAnnotation(
            text = "业务单号",
            length = "20",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String busKey;

    @EntityFieldAnnotation(
            text = "业务日期",
            length = "",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private Date busDate;


    @EntityFieldAnnotation(
            text = "业务主办人",
            length = "20",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String busUser;

    @EntityFieldAnnotation(
            text = "申请单推送结果，-1为推送成功(所有明细)",
            length = "10",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String statusSp;

    @EntityFieldAnnotation(
            text = "中标结果推送结果，-1为推送成功(所有明细)",
            length = "10",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String statusSpResult;


    @EntityFieldAnnotation(
            text = "备注",
            length = "200",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String remark;


    @EntityFieldAnnotation(
            text = "护士长签名地址",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String signPath1;

    @EntityFieldAnnotation(
            text = "科室主任签名地址",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String signPath2;


    // creator ,在父类中处理


    // gmt_create ,在父类中处理


    // modifier ,在父类中处理


    // gmt_modified ,在父类中处理

}
